home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-09-29 | 4.5 KB | 173 lines | [TEXT/MPS ] |
- #
- # File: PrinterClassDriver.make
- #
- # Contains: USB Printer Class Driver makefile
- #
- # Version: 1.0d4
- #
- # Copyright: © 1997-1998 by Apple Computer, Inc., all rights reserved.
- #
- #
-
- # File: PrinterClassDriver.make
- # Target: PrinterClassDriver
- # Sources: PrinterClassDriver.c
- # Created: Thursday, December 4, 1997 01:42:02 PM
-
-
- MAKEFILE = PrinterClassDriver.make
- •MondoBuild• = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
-
-
- #
- # include paths
- #
- Includes = -i {USBInterfacesInternal},{USBInterfacesExternal}
-
- #
- # symbol options
- #
- Sym•PPC = -sym on
- Sym•68K = -sym on
-
- #
- # object directories
- #
- ObjDir•PPC = {USBObjects}
- ObjDir•68K = {USBObjects}
-
- PrintDriverTarget = {USBTargets}Drivers:USBPrintDriver
-
- #
- # compiler options
- #
- #PPCCOptions = {Includes} {Sym•PPC} {NeptuneCOptions} -d DEBUG=1 -align mac68k
- #COptions = {Includes} {Sym•68K} -d DEBUG=1 -b
- PPCCOptions = {Includes} {Sym•PPC} {NeptuneCOptions} -align mac68k
- COptions = {Includes} {Sym•68K} -b
-
-
- #
- # PPC and 68K objects
- #
- Objects•PPC = ∂
- "{ObjDir•PPC}PrinterClassDriver.c.x" ∂
- "{ObjDir•PPC}PrintDriverShell.c.x" ∂
- "{ObjDir•PPC}TradDriverLoaderLib.c.x" ∂
- "{ObjDir•PPC}MissingLibraryRoutines.c.x"
- Objects•68K = ∂
- "{ObjDir•68K}DrvrGlue.a.o" ∂
- "{ObjDir•68K}USBPrint.c.o"
-
-
- PrinterClassDriver ƒƒ {PrintDriverTarget}
-
-
- "{USBReleaseExtensions}USBPrintDriver" ƒ "{PrintDriverTarget}"
- duplicate -y "{PrintDriverTarget}" {Targ}
-
- {PrintDriverTarget} ƒƒ ∂
- "{USBInterfacesInternal}PackageVersion.h" ∂
- "PrinterClassVersion.h" ∂
- "PrinterClassDriver.r" ∂
- {•MondoBuild•}
- Rez ∂
- -i "{USBInterfacesInternal}" ∂
- -i "{RIncludes}" ∂
- "{RIncludes}Types.r" ∂
- "PrinterClassDriver.r" ∂
- -a ∂
- -o {Targ}
-
- #
- # legacy DRVR is compiled with 68K compiler
- # and added into the USBPrintDriver file
- #
- {PrintDriverTarget} ƒƒ ∂
- {•MondoBuild•} ∂
- {Objects•68K}
- Link -o {Targ} -d {Sym•68K} ∂
- {Objects•68K} ∂
- -sg USBPrintDriver ∂
- -rt 'DRVR=12' -sym on ∂
- -ra USBPrintDriver=resSysHeap,resLocked
-
-
- #
- # printer class driver is compiled with PPC compiler
- # and added into the USBPrintDriver file
- #
- {PrintDriverTarget} ƒƒ ∂
- {•MondoBuild•} ∂
- {Objects•PPC} ∂
- "{USBInterfacesInternal}USBClassDriver.exp"
- PPCLink ∂
- -map "{USBMapDir}USBPrinterDriver.map " ∂
- -init CFMInitialization ∂
- -t 'ndrv' ∂
- -c 'usbd' -d ∂
- -o {PrintDriverTarget} {Sym•PPC} ∂
- {Objects•PPC} ∂
- -xm sharedlibrary ∂
- -share context ∂
- -@export "{USBInterfacesInternal}USBClassDriver.exp" ∂
- "{USBLibraries}USBServicesLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}DriverLoaderLib" ∂
- "{PPCLibraries}PPCCRuntime.o"
-
-
- #
- # printer class driver
- #
- "{ObjDir•PPC}PrinterClassDriver.c.x" ƒ {•MondoBuild•} PrinterClassDriver.c ∂
- "{USBInterfacesExternal}USB.h" ∂
- PrinterClassDriver.h
- {PPCC} PrinterClassDriver.c -o {Targ} {PPCCOptions}
-
- #
- # auxillary routines to load the DRVR into the unit table
- #
- "{ObjDir•PPC}TradDriverLoaderLib.c.x" ƒ {•MondoBuild•} TradDriverLoaderLib.c ∂
- TradDriverLoaderLib.h
- {PPCC} TradDriverLoaderLib.c -o {Targ} {PPCCOptions}
-
- "{ObjDir•PPC}MissingLibraryRoutines.c.x" ƒ {•MondoBuild•} MissingLibraryRoutines.c
- {PPCC} MissingLibraryRoutines.c -o {Targ} {PPCCOptions}
-
-
- #
- # printer class driver USB interfaces
- #
- "{ObjDir•PPC}PrintDriverShell.c.x" ƒ {•MondoBuild•} PrintDriverShell.c ∂
- "{USBInterfacesInternal}PackageVersion.h" ∂
- "{USBInterfacesExternal}USB.h" ∂
- PrinterClassDriver.h
- {PPCC} PrintDriverShell.c -o {Targ} {PPCCOptions}
-
- #
- # legacy DRVR system interface 68K asm
- #
- "{ObjDir•68K}DrvrGlue.a.o" ƒ {•MondoBuild•} DrvrGlue.a
- {Asm} DrvrGlue.a -o {Targ} {AOptions}
-
- #
- # legacy DRVR implementation
- #
- "{ObjDir•68K}USBPrint.c.o" ƒ {•MondoBuild•} USBPrint.c PrinterClassDriver.h
- {C} USBPrint.c -o {Targ} {COptions}
-
-
- #
- # clean all the binaries before building
- #
- Clean ƒƒ
- Delete -i {Objects•PPC}
- Delete -i {Objects•68K}
- Delete -i {PrintDriverTarget}
-
- # eof
-